//
//  main.c
//  StructDeclaration
//
//  Created by wangrui on 15-1-27.
//  Copyright (c) 2015年 wangrui. All rights reserved.
//

#include <stdio.h>
#include "MyStruct.h"

typedef struct objc_selector 	*SEL;


struct SomeStruct {
    int a;
    int b;
};

static unsigned int _objc_strhash(char *s) {
    unsigned int hash = 0;
    for (;;) {
        int a = *s++;
        if (0 == a) break;
        hash += (hash << 8) + a;
    }
    return hash;
}

int main(int argc, const char * argv[]) {
 
    unsigned int a = _objc_strhash("0");
    
    printf("%d \n",a);
    
    return 0;
}
